Hey all, i got my site up and running now and testing some paypal integration, im using the service paypal provided by ucommerce, i've generated all the keys etc. but right now running sandbox in non secure test. (works both in secure and in my sandbox)
However when paypal process's the transaction, shouldnt there be some form off callback to ucommerce so it updates the transaction id? or will you have to manually enter that?
It returns to our custom build sign off page, so im wondering if i need to catch a postback from paypal and do something with it?
This is my click event to open paypal:
UCommerce.EntitiesV2.Basket _basket = UCommerce.Runtime.SiteContext.Current.OrderContext.GetBasket(true);
var paymentMethod = PaymentMethod.SingleOrDefault(x => x.PaymentMethodId == int.Parse(this.rblPaymentMethod.SelectedValue)) ?? new PaymentMethod();
Library.CreatePayment(paymentMethod.Id);
if (paymentMethod.Name.ToLower().Contains("bank"))
{
Library.CreatePayment(paymentMethod.Id, -1, false, true);
HttpContext.Current.Response.Redirect("/kurv/godkendelse.aspx");
}
Library.ExecuteBasketPipeline();
Paypal paymentmethod,name doesnet contain bank so just look away from that :)
Also i cant seem to edit a order for track & trace etc.? I only see editation for order status? (Maybe its the same problem i had earlier with this solution with the build beeing with mixed code from various version etc?)
Seems to be working now i think paypal sandbox has alot of issues, just for people to beware of random error's probally caused by paypal and not your code or ucommerce
Paypal - Transactions ID - how to auto-capture
Hey all, i got my site up and running now and testing some paypal integration, im using the service paypal provided by ucommerce, i've generated all the keys etc. but right now running sandbox in non secure test. (works both in secure and in my sandbox)
However when paypal process's the transaction, shouldnt there be some form off callback to ucommerce so it updates the transaction id? or will you have to manually enter that?
It returns to our custom build sign off page, so im wondering if i need to catch a postback from paypal and do something with it?
This is my click event to open paypal:
Paypal paymentmethod,name doesnet contain bank so just look away from that :)
Also i cant seem to edit a order for track & trace etc.? I only see editation for order status?
(Maybe its the same problem i had earlier with this solution with the build beeing with mixed code from various version etc?)
Seems to be working now i think paypal sandbox has alot of issues, just for people to beware of random error's probally caused by paypal and not your code or ucommerce
The sandbox has indeed experienced a lot of issues lately. Specifically IPNs (callbacks) didn't work at all a couple of weeks back.
is working on a reply...