Skip to content

Commit

Permalink
#36076 using again applepay as paymentSource
Browse files Browse the repository at this point in the history
  • Loading branch information
majidabbasimediaopt committed Apr 18, 2024
1 parent 3306640 commit 2eed680
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paypal-commercetools-client",
"version": "0.1.16-alpha",
"version": "0.1.17-alpha",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ApplePay/ApplePayMask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const ApplePayMask: React.FC<CustomPayPalButtonsComponentProps> = (
setPaymentId("payment id: " + paymentInfo.id);

try {
const orderId = await handleCreateOrder({ paymentSource: "paypal" });
const orderId = await handleCreateOrder({ paymentSource: "applepay" });
setLogs("orderId: " + orderId);

const confirmResult = await pay.confirmOrder({
Expand Down

0 comments on commit 2eed680

Please sign in to comment.